package cn.sytton.taffe.web.flw.entity;

import cn.sytton.taffe.framework.base.entity.BaseUpdatedEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作流表单模版表 对象
 * </p>
 *
 * @author rock
 * @since 2023-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("flw_form_structure_template")
@Schema(description = "工作流表单模版")
public class FormStructureTemplateEntity extends BaseUpdatedEntity {

    @Schema(description = "模版ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String templateId;

    @Schema(description = "模版名称")
    private String templateName;

    @Schema(description = "模版描述")
    private String templateDesc;

    @Schema(description = "表单结构")
    private byte[] formJson;
}
